<!DOCTYPE html>
<html>
<head>
  <title>首页</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="css/bootstrap.min.css">
  <link rel="stylesheet" href="css/swiper-bundle.min.css" />
  <link rel="stylesheet" href="css/nav_box.css">
  <style type="text/css">
    .swiper-slide img{
      height:850px;
      width:100%;
    }
    .hot_bg{
      width:100%;
      background: #F7660D;
    }
    .text_box{
      text-align: center;
      padding:70px 0 50px;
    }
    .text_title{
      font-size: 36px;
      color: #ffffff;
      font-weight:bold;
    }
    .text_des{
      font-size:20px;
      color:#ffffff;
    }
    .hot_bg img{
      width:100%;
    }
    .hot_bg .col-sm-12{
      margin-bottom:80px;
    }
    .yellow_bg{
      width:100%;
      background:#FFEF5B;
    }
    .yellow_bg .container{
      padding-top:80px;
      padding-bottom:80px;
      display: flex;
      justify-content: space-between;
    }
    .yellow_bg img{
      width:100%;
    }
    .row_l{
      width:70%;
      height:1210px;
    }
    .row_l .col-sm-12{
      width:870px;
      height:600px;
      background:#ffffff;
      display: flex;
      justify-content: space-around;
      align-items: center;
    }
    .row_l .col-sm-12 img{
      width:350px;
      height:470px;
    }
    .col_text{
      width:310px;
      height:470px;
      margin:20px;
    }
    .row_r{
      width:30%;
      height:1210px;
    }
    .row_r div{
      width:320px;
    }
    .row_r div:first-child img{
      width:320px;
      height:350px;
    }
    .row_r div:last-child img{
      width:320px;
      height:850px;
    }
    .p1{
      color: rgb(255, 101, 55);
      font-size: 16px;
    }
    .p2{
      color: rgb(123, 64, 34);
      font-size: 38px;
    }
    .text_con{
      color: rgb(153, 153, 153);
      font-size: 16px;
    }
    .btn_div{
      display: flex;
      align-items: center;
      margin-top:50px;
    }
    .btn_div span{
      font-size: 34px;
      color:rgb(255, 101, 55);
    }
    .btn_div h2{
      font-size: 50px;
      color:rgb(255, 101, 55);
      font-weight:bold;
      margin-left:20px;
    }
    .btn_div a{
      font-size: 15px;
      color:#ffffff;
      background:rgb(255, 101, 55);
      text-decoration:none;
      width:100px;
      height:33px;
      text-align: center;
      line-height:33px;
      margin-left:20px;
    }
    .li_boxs{
      width:100%;
      background:url(http://12252111.s61i.faimallusr.com/2/AD0Iz_frBRACGAAgm6e5wgUoqsiQywEw8gE4nws.jpg) repeat center ,transparent;
    }
    .li_boxs .container{
      padding:100px 0;
    }
    .li_box{
      width:574px;
      height:545px;
      position: relative;
      margin-top:20px;
    }
    .pic_text{
      width:574px;
      height:455px;
      background:#ffffff;
      text-align: center;
    }
    .pic_text img{
      margin-top:20px;
      width:490px;
      height:330px;
      cursor: pointer;
    }
    .pic_text h3{
      color: rgb(33, 33, 33);
      font-size:20px;
      margin-top:20px;
    }
    .pic_text h4{
      color: rgb(153, 153, 153);
      font-size: 16px;
    }
    .li_active{
      position: absolute;
      bottom: 0;
      width:574px;
      height:90px;
      display: flex;
      cursor: pointer;
    }
    .active_l{
      background:#FF6437;
      width:430px;
      height:90px;
      text-align: center;
    }
    .active_l p{
      color:#ffffff;
      font-size:20px;
      height:90px;
      line-height:90px;
    }
    .active_l span{
      font-size:40px;
      font-weight:bold;
    }
    .active_r{
      background:#403E3F;
      width:144px;
      height:90px;
    }
    .active_r p{
      font-size:20px;
      color:#ffffff;
      text-align: center;
    }
    .active_r p:first-child{
      height:45px;
      line-height:60px;
      margin-bottom: unset;
    }
  </style>
</head>
<body>

    <ul id="nav_top" class="navbar navbar-expand-sm nav justify-content-center fixed-top">
        <li class="nav-item"><a class="nav-link active" href="index.html">首页</a></li>
        <li class="nav-item"><a class="nav-link" href="second.html">第二页</a></li>
        <li class="nav-item"><a class="nav-link" href="other.html">其他页</a></li>
    </ul>

    <div class="swiper mySwiper">
        <div class="swiper-wrapper">
            <div class="swiper-slide"><img src="http://12252111.s61i.faimallusr.com/2/AD0Iz_frBRACGAAgj-_4wgUopPPvuQMwgA840gY.jpg" ></div>
            <div class="swiper-slide"><img src="http://12252111.s61i.faimallusr.com/4/AD0Iz_frBRAEGAAgqJG5wgUogM6JjAQwlgQ4qgM.png.webp" ></div>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination"></div>
    </div>

    <div class="hot_bg">
      <div class="container">
        <div class="text_box">
          <p class="text_title">HOT SALE</p>
          <p class="text_des">LET THE BABY HEALTHY AND HAPPY GROWTH</p>
        </div>
        <div class="row">
          <div class="col-sm-12">
            <img src="http://12252111.s61i.faimallusr.com/4/AD0Iz_frBRAEGAAgso_5wgUouLmQ_gQwsAk42wM.png.webp">
          </div>
          <div class="col-sm-12">
            <img src="http://12252111.s61i.faimallusr.com/4/AD0Iz_frBRAEGAAgoo65wgUo8ura7wUwsAk42wM.png.webp">
          </div>
        </div>
      </div>
    </div>

    <div class="yellow_bg">
      <div class="container">
        <div class="row row_l">
          <div class="col-sm-12">
            <img src="http://11038939.s61i.faimallusr.com/2/AD0I2_GhBRACGAAg-vjDvgUop4GFTjCQAziSBA!500x500.jpg">
            <div class="col_text">
              <p class="p1">Safety inspection certification</p>
              <p class="p2">BUILDING · TOY</p>
              <div class="text_con">
                <p>Children's building blocks toys</p>
                <p>Imagination began to force</p>
                <p>Environmentally safe non-toxic</p>
                <p>Digital enlightenment</p>
              </div>
              <div class="btn_div"><span>$</span><h2>109</h2><a href="">DETAIL</a></div>
            </div>
          </div>
          <div class="col-sm-12">
            <div class="col_text">
              <p class="p1">Safety inspection certification</p>
              <p class="p2">BUILDING · TOY</p>
              <div class="text_con">
                <p>Children's building blocks toys</p>
                <p>Imagination began to force</p>
                <p>Environmentally safe non-toxic</p>
                <p>Digital enlightenment</p>
              </div>
              <div class="btn_div"><span>$</span><h2>109</h2><a href="detail.html">DETAIL</a></div>
            </div>
            <img src="http://11038939.s61i.faimallusr.com/2/AD0I2_GhBRACGAAgg-nDvgUondTh2AYwkAM4kgQ!500x500.jpg">
          </div>
        </div>
        <div class="row row_r">
          <div class="col-sm-12">
            <img src="http://12252111.s61i.faimallusr.com/2/AD0Iz_frBRACGAAg1Zm5wgUopNqktwUwwQI43gI.jpg.webp">
          </div>
          <div class="col-sm-12">
            <img src="http://12252111.s61i.faimallusr.com/2/AD0Iz_frBRACGAAg8Zm5wgUouf2yHzDBAjjUBg.jpg.webp">
          </div>
        </div>
      </div>
    </div>

    <div class="li_boxs">
      <div class="container">
        <div class="row">
            <div class="col-sm-6">
              <div class="li_box">
                <div class="pic_text">
                  <img src="http://11038939.s61i.faimallusr.com/2/AD0I2_GhBRACGAAgosXDvgUo6s6BiQUw-AI4-wE.jpg">
                  <h3>The giraffe walkers</h3>
                  <h4>Healthy toddler Exercise coordination</h4>
                </div>
                <div class="li_active">
                  <div class="active_l"><p>SALE: $ <span>529.00</span></p></div>
                  <div class="active_r"><p>FOR</p><p>DETAIL</p></div>
                </div>
              </div>
            </div>
            <div class="col-sm-6">
              <div class="li_box">
                <div class="pic_text">
                  <img src="http://11038939.s61i.faimallusr.com/2/AD0I2_GhBRACGAAgtMXDvgUogMiw4AMw-AI4-wE.jpg">
                  <h3>The giraffe walkers</h3>
                  <h4>Healthy toddler Exercise coordination</h4>
                </div>
                <div class="li_active">
                  <div class="active_l"><p>SALE: $ <span>529.00</span></p></div>
                  <div class="active_r"><p>FOR</p><p>DETAIL</p></div>
                </div>
              </div>
            </div>
            <div class="col-sm-6">
              <div class="li_box">
                <div class="pic_text">
                  <img src="http://11038939.s61i.faimallusr.com/2/AD0I2_GhBRACGAAgtMXDvgUogMiw4AMw-AI4-wE.jpg">
                  <h3>The giraffe walkers</h3>
                  <h4>Healthy toddler Exercise coordination</h4>
                </div>
                <div class="li_active">
                  <div class="active_l"><p>SALE: $ <span>529.00</span></p></div>
                  <div class="active_r"><p>FOR</p><p>DETAIL</p></div>
                </div>
              </div>
            </div>
        </div>
      </div>
    </div>


    <div class="footer">
      <img src="http://12252111.s61i.faimallusr.com/4/AD0Iz_frBRAEGAAgy9e5wgUoqcD19gEwZzhn.png.webp">
      <ul>
          <li><a href="index.html">首页</a></li>|
          <li><a href="second.html">第二页</a></li>|
          <li><a href="other.html">其他页</a></li>
      </ul>
      <p>2023 Js 版权所有</p>
    </div>

    <div id="fixed_btn"></div>

</body>
<script src="js/bootstrap.bundle.min.js"></script>
<!-- Swiper JS -->
<script src="js/swiper-bundle.min.js"></script>

<!-- Initialize Swiper -->
<script>
  window.onscroll = function(){ 
    var t = document.documentElement.scrollTop || document.body.scrollTop; 
    var top_div = document.getElementById( "nav_top" ); 
    var fixed_btn = document.getElementById( "fixed_btn" ); 
    if( t >= 1 ) { 
      top_div.style.background = "white"; 
    } else { 
      top_div.style.background = "none"; 
    }
    if( t >= 100 ) { 
      fixed_btn.style.display = "block"; 
    } else { 
      fixed_btn.style.display = "none"; 
    }
  } 
  var swiper = new Swiper(".mySwiper", {
    effect: "cube",
    grabCursor: true,
    cubeEffect: {
      shadow: true,
      slideShadows: true,
      shadowOffset: 20,
      shadowScale: 0.94,
    },
    pagination: {
      el: ".swiper-pagination",
    },
  });
</script>
</html>